package com.xyulu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xyulu.entity.BlogArticleEntity;
import com.xyulu.entity.vo.ArticleQuery;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lumin
 * @since 2021-02-25
 */
public interface BlogArticleDao extends BaseMapper<BlogArticleEntity> {

    List<BlogArticleEntity> findArticleViews();

    void updateView(Integer view, Integer id);

    void updateComment(Integer comment, Integer id);

    void toRecycleBin(List<String> ids);


}
